#set($layout = "/layout/no.html")  
#parse("/common/common.html")
##grid
<div class="page-content">
<div class="page-content-area">
		<div class="row">
		<form id="mainForm" action="#" class="form-horizontal">
			<input name="propertyId" type="hidden" value="$!{record.propertyId}" />
			<input name="materialId" type="hidden" value="$!{record.materialId}"/>
			
			<div class="col-xs-12 col-sm-6">
				<div class="form-group">
					<label class="col-xs-2 col-sm-4 control-label no-padding-right" for="materialName"><span class="form-require">*</span>物料名称</label>
					<div  class="col-xs-10 col-sm-8" >
						<input class="form-control required" type="text" id="materialName" name="materialName" placeholder="物料名称" value="$!{materialName}" readonly="readonly"/>
					</div>
				</div>
			</div>
			
				<div class="col-xs-12 col-sm-6">
				<div class="form-group">
					<label class="col-xs-2 col-sm-4 control-label no-padding-right" for="materialPropertyName"><span class="form-require">*</span>物料子名称</label>
					<div  class="col-xs-10 col-sm-8" >
						<input class="form-control required" type="text" id="materialPropertyName" name="materialPropertyName" placeholder="物料子名称" value="$!{record.materialPropertyName}"/>
					</div>
				</div>
			</div>
			
			<div class="col-xs-12 col-sm-6">
				<div class="form-group">
					<label class="col-xs-2 col-sm-4 control-label no-padding-right" for="materialNo"><span class="form-require">*</span>物料编码</label>
					<div  class="col-xs-10 col-sm-8" >
						<input class="form-control required" type="text" id="materialNo" name="materialNo" placeholder="物料编码" value="$!{record.materialNo}"/>
					</div>
				</div>
			</div>
			
			
			<div class="col-xs-12 col-sm-6">
				<div class="form-group">
					<label class="col-xs-2 col-sm-4 control-label no-padding-right" for="mnemonicCode"><span class="form-require">*</span>助记码</label>
					<div  class="col-xs-10 col-sm-8" >
						<input class="form-control required" type="text" id="mnemonicCode" name="mnemonicCode" placeholder="助记码" value="$!{record.mnemonicCode}"/>
					</div>
				</div>
			</div>
			
			<div class="col-xs-12 col-sm-6">
				<div class="form-group">
					<label class="col-xs-2 col-sm-4 control-label no-padding-right" for="mnemonicCode">颜色</label>
					<div  class="col-xs-10 col-sm-8" >
						<input class="form-control" type="text" id="color" name="color" placeholder="颜色" value="$!{record.color}"/>
					</div>
				</div>
			</div>
			
			<div class="col-xs-12 col-sm-6">
				<div class="form-group">
					<label class="col-xs-2 col-sm-4 control-label no-padding-right" for="materialStatus"><span class="form-require">*</span>状态</label>
					<div  class="col-xs-10 col-sm-8" >
						<select class="form-control required" id="materialStatus" name="materialStatus"  >
					    #select($dicts.useStatus $record.materialStatus)
					    </select>
					</div>
				</div>
			</div>
			
			<div class="col-xs-12">
					<div class="form-group">
						<label class="col-xs-1 col-sm-2 control-label no-padding-right" for="spec"><span class="form-require">*</span>规格</label>
						<div  class="col-xs-11 col-sm-10" >
							<input class="form-control required" type="text" id="spec" name="spec" placeholder="规格" value="$!{record.spec}" />
						</div>
					</div>
				</div>
			
			
		</form>
		</div>
	</div>
</div>
		
<script src="${contextPath}/view/depot/material/js/property/edit.js"></script>